package com.umpay.service.consum;

import com.umpay.entity.ConsumeBalControl;
import com.umpay.entity.Trans;
import com.umpay.entity.consum.ConsumOrder;

public interface ConsumeBalanceService {
	
	public ConsumOrder find(ConsumOrder order);
	
	public int update(ConsumOrder order);
	
	public void insert(ConsumOrder order);
	
	public int updateStateAndInsertBalControl(ConsumOrder order, ConsumeBalControl consumeBalControl,Trans updateAccConsumTrans);

	int updateConsumOrderAndTrans(ConsumOrder order, Trans consumeTrans);
	
	public int insertTransAndLockOrder(ConsumOrder order, Trans consumeTrans);
	

}
